package io操作;

import java.io.File;
import java.io.IOException;

public class file类 {
    public static void main(String[] args) throws InterruptedException, IOException {
        File file = new File("file.txt");
        System.out.println(file.exists());
        file.createNewFile();
//        file.delete();
//        file不能删除非空文件夹
    }
}
